package com.cdzg.cloud.money.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @author liuchao
 * @email liuchao@cdzgph.com
 * @date 2020/1/14 14:31
 */
@Data
public class UserVO implements Serializable {

    private Long id;

    private String name;

    private Integer age;

    private Short sex;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern="yyyy-MM-dd HH:mm:ss")
    private Date updateTime;
}
